package top.rushpeak.edu03.admin.core;

import com.jfinal.config.Routes;

import top.rushpeak.edu03.admin.web.admin.AdminController;
import top.rushpeak.edu03.admin.web.admin.ImageController;



public class AdminRoutes extends Routes {

	@Override
	public void config() {
		
//		addInterceptor(new AdminAuthInterceptor());
		this.setBaseViewPath("/WEB-INF/pages");
		this.add("/admin", AdminController.class,"/admin");
		this.add("/image", ImageController.class, "/admin");
		
		
	}

}
